package com.stone.framework.core.entity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class DebtEntity extends CommonEntity {

    private static final long serialVersionUID = -7771971121656264750L;

    /**
     * 合作机构号
     */
    @Column(name = "ORG_CODE")
    private String orgCode;

    /**
     * 活动号
     */
    @Column(name = "EVENT_CODE")
    private String eventCode;

    /**
     * 项目号
     */
    @Column(name = "PROJECT_CODE")
    private String projectCode;

    /**
     * 导入批次号
     */
    @Column(name = "BATCH_CODE")
    private String batchCode;

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getEventCode() {
        return eventCode;
    }

    public void setEventCode(String eventCode) {
        this.eventCode = eventCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    @Override
    public String toString() {
        return "[orgCode=" + orgCode + ", eventCode=" + eventCode + ", projectCode=" + projectCode + ", batchCode="
            + batchCode + ", " + super.toString() + "]";
    }

}
